import {request} from "../utils/request";

// 获取后端请求日志
export function getNav(data: any) {
  return request({
    url: "/nav/queryNavList",
    method: "post",
    data,
  });
}

// 添加
export function navAdd(data: any) {
  return request({
    url: "/nav/add",
    method: "post",
    data,
  });
}

// 编辑
export function navEdit(data: any) {
  return request({
    url: "/nav/edit",
    method: "post",
    data,
  });
}

// 删除
export function navDel(data: any) {
  return request({
    url: "/nav/del",
    method: "post",
    data,
  });
}